package com.bida.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @author ly
 * 阿里云配置
 */
@Data
@ConfigurationProperties(prefix = "aliyun.oss")
@Configuration
@Component
public class AliyunOSSConfig {

    // 阿里域名
    private String aliDomain;

    // 地域节点
    private String endpoint;

    // 仓库名
    private String bucketName;

    // 密钥ID
    private String accessKeyId;

    // 密钥
    private String accessKeySecret;

}
